package wiki.hitime.stl.daq.bean.db;

import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 数据源详细配置表(DaqDbDetailConfig)实体类
 *
 * @author zhangdp
 * @since 2019-07-15 16:59:58
 */
@Data
@Builder
@Table(name = "daq_db_detail_config")
public class DaqDbDetailConfig {
    private static final long serialVersionUID = -36136827947293439L;

    @Tolerate
    public DaqDbDetailConfig(){}

    /**
     * 编号
     **/
    @Id
    @Column(updatable = false, insertable = false)
    private Long id;

    /**
     * 数据源配置编号
     **/
    private Long dbConfigId;

    /**
     * 详细配置名称
     **/
    private String detailConfigName;

    /**
     * 配置键
     **/
    private String detailConfigKey;

    /**
     * 配置值
     **/
    private String detailConfigValue;

    /**
     * 备注
     **/
    private String remark;

    /**
     * 是否删除数据，0-有效，1-删除
     **/
    private Boolean isDelete;

    /**
     * 更新时间
     **/
    @Column(updatable = false, insertable = false)
    private Date modified;

    /**
     * 创建时间
     **/
    @Column(updatable = false, insertable = false)
    private Date created;
}
